mkdir build-msvc
cd build-msvc
rem del CmakeCache.txt
set INSTALL_DIR="..\inst"
set PATH=%PATH%;C:\Program Files (x86)\CMake 2.8\bin
cmake.exe ..\ -G "Visual Studio 10 Win64" -DCMAKE_INSTALL_PREFIX=%INSTALL_DIR%